export default (state = {tags: [], studentTags: []}, action) => {
  switch (action.type) {
    case 'GET_STUDENT_ASSIGNMENT_QUIZ_TAG':
      return Object.assign({}, state, {studentTags: action.data})
    case 'GET_ALL_ASSIGNMENT_QUIZ_TAGS':
      return Object.assign({}, state, {tags: action.data})
    default:
      return state
  }
}
